package com.sam.test;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import com.sam.jifenbao.BaseActivity;
import com.sam.jifenbao.R;
import com.sam.widget.CountDownButton;

public class ActivityTestCountDownButtonWidget extends BaseActivity{
    private CountDownButton countDownButton;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test_count_down_button);
        findView();
        initView();
    }

    @Override
    protected void findView() {
    countDownButton = (CountDownButton) findViewById(R.id.button);
    }

    @Override
    protected void initView() {
        countDownButton.setOnButtonClickListener(new CountDownButton.OnButtonClickListener() {
            @Override
            public void onClick() {
                Log.d("Sam","请求发送验证到我的手机上，我的手机号是13888888888");
            }
        });
    }
}
